//
//  UIView+JwSkiner.h
//  JwPack
//
//  Created by 陈警卫 on 2024-08-06.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^didJwSkinerBlock)(id sender);

@interface UIView (JwSkiner)

/// 全局项目刷新回调(block只能被一个对象实现)
/// 不要在 jw_didSkinerBlock 回调方法中设置 (jw_backgroundColorKey) 等key 会死循环
@property (nonatomic, copy) didJwSkinerBlock jw_didSkinerBlock;

@end

@interface UIView (JwSkinerKeys)

/// MARK: 颜色管理

@property (nonatomic, strong) NSString *jw_backgroundColorKey;
@property (nonatomic, strong) NSString *jw_tintColorKey;
@property (nonatomic, strong) NSString *jw_textColorKey;


/// MARK: 图片管理
@property (nonatomic, strong) NSString *jw_imageName;


@end

NS_ASSUME_NONNULL_END
